package gamagora.game.map.backgrounds
{
	import gamagora.game.map.OSBackground;
	import gamagora.game.utils.OSImages;
	import gamagora.game.animations.OSAnimation;
	import gamagora.game.animations.OSMonkey;
	import gamagora.game.animations.OSMonkeyCage;
	import gamagora.game.animations.OSBird;
	
	public class OSBackground2 extends OSBackground
	{
		public function OSBackground2()
		{
			super(OSImages.N2P3);
		}
		
		protected override function create(animations:Vector.<OSAnimation>):void
		{
			animations.push(new OSMonkeyCage(410, 84));
			
			var monkey1:OSMonkey = new OSMonkey(150, 167, OSAnimation.BACKGROUND3);
			var monkey2:OSMonkey = new OSMonkey(270, 167, OSAnimation.BACKGROUND3);
			monkey2.moveTo(330);
			animations.push(monkey1);
			animations.push(monkey2);
			
			// Oiseau de map
			animations.push(new OSBird(344, 500, OSAnimation.NO_BACKGROUND));
			animations.push(new OSBird(364, 500, OSAnimation.BACKGROUND2));
			animations.push(new OSBird(384, 500, OSAnimation.NO_BACKGROUND));
			animations.push(new OSBird(414, 500, OSAnimation.BACKGROUND2));
			animations.push(new OSBird(444, 500, OSAnimation.BACKGROUND1));
			animations.push(new OSBird(464, 500, OSAnimation.BACKGROUND2));
			
			
			
			
			animations.push(new OSBird(374, 500, OSAnimation.BACKGROUND2));
			animations.push(new OSBird(394, 500, OSAnimation.NO_BACKGROUND));
			animations.push(new OSBird(444, 500, OSAnimation.BACKGROUND1));
			animations.push(new OSBird(484, 500, OSAnimation.NO_BACKGROUND));
			animations.push(new OSBird(504, 500, OSAnimation.BACKGROUND2));
			animations.push(new OSBird(534, 500, OSAnimation.BACKGROUND1));
			
		}
	}
}